package com.crawler.waf.exceptions.extendExceptions;

import org.springframework.http.HttpStatus;

import com.crawler.waf.exceptions.messages.ErrorMessage;
/**
 * 定义Waf的异常接口。<br>
 *
 */
public interface WafExceptionSupport {
	/**
	 * 获取异常信息的值对象{@link com.crawler.waf.exceptions.messages.ErrorMessage}<br>
	 * @return
	 */
	public ErrorMessage getErrorMessage();

	/**
	 * 获取Http请求的状态码{@link org.springframework.http.HttpStatus}<br>
	 * @return
	 */
	public HttpStatus getStatus() ;
}
